package entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: liyf
 * @create: 2025-02-13 19:53
 **/
@Data
public class Order {

    private Integer orderId;

    private Integer userId;

    private String orderNumber;

    private LocalDateTime createdAt;

    private String remark;


    // 一对一关联查询  方式一
    private String username;


    // 一对一关联查询  方式二
    private User user;
}
